package cn.admin.system.staff.app.impl;

import cn.admin.system.staff.app.SysUserApp;
import cn.admin.system.staff.domain.SysLoginService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author YJ
 * @DateTime 2023/2/21 16:02
 */
@Service
public class SysUserAppImpl implements SysUserApp {

    @Autowired
    private SysLoginService sysLoginService;

    @Override
    public String login(String username, String password, String code, String uuid) {
        return sysLoginService.login(username, password, code, uuid);
    }
}
